// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import App from './App';
import router from './router';
import store from './vuex/index';
import i18n from './i18n/index';
import weui from 'weui';
import axios from 'axios';
import http from './common/http';
import API from './common/api';
import util from './common/util';

import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'

// Vue.use(weui);
Vue.use( MintUI )
Vue.use( http );
Vue.use( API );

window.getCookie = util.getCookie;
window.setCookie = util.setCookie;
window.router = router;

// axios.defaults.baseURL = window.baseURL;

import 'weui/dist/style/weui.css';
import './assets/scss/common.scss';
import 'animate.css';

// 2018-5-25日--lou--引入公共更改过的样式
import './assets/scss/mobile.css';


/* eslint-disable no-new */
new Vue( {
	el: '#app',
	router,
	store,
	i18n,
	template: '<App/>',
	components: {
		App
	}
} );
